package com.aggregate.pay.sanstar.bean;

import com.aggregate.pay.sanstar.enums.GroupType;
import com.aggregate.pay.sanstar.jackson.StringDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 配置组信息
 * @author Moyq5
 * @date 2022年12月1日
 */
public class Group {
    /**
     * 配置组号
     */
    private String groupNo;
    /**
     * 配置组类型
     */
    private GroupType type;
    /**
     * 配置参数
     */
    @JsonDeserialize(using = StringDeserializer.class)
    private String setting;
    
    public String getGroupNo() {
        return groupNo;
    }
    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }
    public GroupType getType() {
        return type;
    }
    public void setType(GroupType type) {
        this.type = type;
    }
    public String getSetting() {
        return setting;
    }
    public void setSetting(String setting) {
        this.setting = setting;
    }
    
}
